home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Developer Helper 1: Phil & Dave's Excellent CD
/
Excellent CD HFS.raw
/
HyperCard
/
HyperCard 1.2.2 International
/
HyperCard Finnish (N-1.2.2)
/
Ohjeita
/
Ohjeita
/
card_21024.txt
< prev
next >
Wrap
Text File
|
1989-01-30
|
2KB
|
71 lines
-- card: 21024 from stack: in
-- bmap block id: 20408
-- flags: 0000
-- background id: 16045
-- name:
-- part 15 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=53 top=74 right=150 bottom=417
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
----- HyperTalk script -----
on mouseUp
get the clickloc
put item 1 of it into noteNum
put 1 + (noteNum - 52) DIV 13 into noteNum
put "36 38 40 41 43 45 47 48 50 52 53 55 57 59 60 62" && "64 65 67 69 71 72 74 76 77 79 81 83" into keymap
put word noteNum of keymap into realNote
play "harpsichord" realnote & "q"
if notenum < 15 then
put 220 - ((noteNum-17)*3) -10 into noteLocY
else
put 204 - ((noteNum-17)*3) -10 into noteLocY
end if
show card button "Note" at 317, noteLocY
end mouseUp
-- part 17 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=300 top=226 right=254 bottom=334
-- title width / last selected line: 0
-- icon id / first selected line: 12694 / 12694
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Note
-- part 20 (button)
-- low flags: 00
-- high flags: 8003
-- rect: left=393 top=294 right=316 bottom=476
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Takaisin
----- HyperTalk script -----
on mouseUp
visual effect checkerboard
pop card
end mouseUp